﻿using PropertyChanged;
using System;
using System.Collections.Generic;

namespace AmiDraw.Lib.Models
{
    /// <summary>
    /// 等级
    /// </summary>
    [AddINotifyPropertyChangedInterface]
    public class AcLevel:ICloneable
    {
        /// <summary>
        /// 占比
        /// </summary>
        public int Ratio { get; set; } = 100;

        /// <summary>
        /// 卡池名
        /// </summary>
        public string Name { get; set; } = "";

        /// <summary>
        /// 卡池描述
        /// </summary>
        public string Description { get; set; } = "";

        public bool IsGuaranteed { get; set; } = false;

        /// <summary>
        /// 卡池列表
        /// </summary>
        public List<AcCard> Cards { get; set; } = new();

        public object Clone()
        {
            return this.MemberwiseClone();
        }
    }
}